<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 200px;
            height: 50px;
            border: 1px solid blue;
            /*水平对齐方式*/
            text-align: center;
            /*行高 可以控制垂直居中*/
            line-height: 50px;
            /*文本修饰 overline上划线 underline下划线 line-through删除线 none去掉文本修饰*/
            text-decoration: line-through;
            text-decoration: overline;
            text-decoration: underline;
            /*文本阴影: 颜色 x偏移值 y偏移值 浓度*/
            text-shadow: red 15px 15px 10px;
            /*字体大小*/
            font-size: 20px;
            /*字体加粗 bold加粗 normal去掉自带加粗*/
            font-weight: bold;
        }

        a {
            text-decoration: none;
        }

        h3 {
            font-weight: normal; /*去掉自带加粗*/
            /*设置斜体*/
            font-style: italic;
            /*设置字体*/
            /* font-family: cursive;*/
            font: 50px cursive;
        }
    </style>
</head>

<body>
<h3>这个是h3</h3>
<a href="">超链接</a>
<div>
    文本和字体测试
</div>
</body>
</html>